<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link type="text/css" rel="stylesheet" href="index.css" />  
    <title>Document</title>
    
</head>
<body>
    
    <div id="header"></div>
    <h1 id="h1">script标签前</h1>
    
    <h2 id="h2">script标签后</h2>
    
    
</body>
<script type="text/javascript" src="index.js"></script>
</html>